<template>
	<cu-editor ref="editor" :url="upload" :header=" { accessToken: storage.getAccessToken() }" 
		:content="content" @save="onSave">
		<!--  @before="onUploadBefore" @update="onUpdate" -->
	</cu-editor>
</template>
<script>
	import cuEditor from '@/components/cu-editor/cu-editor'
	import storage from "@/utils/storage.js";
	import {
		upload
	} from "@/api/common.js";
	export default {
		components: {
			cuEditor
		},
		data() {
			return {
			storage,
			upload
			}
		}
	}
</script>
